home *** CD-ROM | disk | FTP | other *** search
- # sample mail configuration file for 'sendmail'
- # each line contains
- #
- # 1. a (wildcarded) mail address
- # 2. the method (command) that delivers messages to this address
- #
- # wildcards are '*' and '?'. '?' matches exactly one character, '*' zero
- # or more characters.
- #
- # the command may contain % expressions. They are replaced by sendmail by
- # different strings:
- #
- # %f name of the file containing the message (with headers)
- # %t destination address (as given on sendmails command line
- # or extracted from the message header)
- # %<digit> string that is matched by the corresponding '*' or '?'
- # wildcard. If the wildcarded mail address is *@*.ch and the actual
- # address is root@nic.switch.ch then %0 is replaced by 'root'
- # and %1 by 'nic.switch'
-
-
- # mail for this host - graeffet - is directly delivered to !TCPIP's Maildir
- # it does not matter if the message's origin is UUCP or !TCPIP
- *@graeffet run adfs::4.$.net.news.putmail < %f %0
- *@graeffet.* run adfs::4.$.net.news.putmail < %f %0
-
- # mail for readag is delivered by UUCP - to the central router 'master'
- *.readag uux < %f - master!rmail %t
- *@readag uux < %f - master!rmail %t
-
- # mail to 'inet' is a special way of delivering mail by 'graeffet'
- # the message header must be changed by a program named inetgate
- # the message is then resent through sendmail (this is done by inetgate)
- *.inet run adfs::4.$.net.news.inetgate < %f %t
-
- # mail to any other destination is delivered through
- # !TCPIP's SMTP daemon
- * run adfs::4.$.net.news.smtpqueue < %f %0 aeby@dial.eunet.ch
-